package cn.dust.design.pattern.behavioral.command;

/**
 * @Author: dust
 * @Date: 2019/11/28 17:24
 */
public class CourseVideo {

    private String name;

    public CourseVideo(String name) {
        this.name = name;
    }

    public void open(){
        System.out.println(this.name+"视频开放");
    }

    public void close(){
        System.out.println(this.name+"视频关闭");
    }
}
